<%@ page pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page import="com.sasis.Constants"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><fmt:message key="user.common.title.label"/></title>
<link rel="stylesheet" type="text/css"
	href="<c:url value='/styles/${appConfig["csstheme"]}/style.css'/>" /> 	 
<link rel="stylesheet" type="text/css" media="all"
	href="<c:url value='/styles/css.css'/>" />
<link href="../styles/layout.css" rel="stylesheet" type="text/css">
<script src="<c:url value='/scripts/common.js'/>"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px; 
	font-size:12px;
}
-->
<!--  
a:link { text-decoration: none}  
a:active { text-decoration: none }  
a:visited { text-decoration: none }  
--> 
</style>

</head>

<body leftmargin="0" topmargin="0"> 
<html:form action="/manage/userInfo.shtml" styleId="userInfoBean"  method="post" > 
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
     <td class="home-content-title" ><img src="../images/passenger.gif" width="21" height="22" align="absmiddle"/>查看用户</td>
  </tr>
  <tr>
    <td valign="top"> 
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td class="home-table-topline"> </td>
        </tr>
        <tr> 
          <td class="home-table-leftline"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="home-table-tool-content">
				<input  type="button"  class="home-inputBtn" value="<fmt:message key="button.close"/>" onclick="window.close();"/></td>
              </tr>
              <tr>
                <td align="center" valign="top">&nbsp;</td>
              </tr>
              <tr> 
                <td valign="top" class="home-edittable-space"> <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                    <tr> 
                      <td> <table width="95%" border="0"  class="home-subtable-bgcolor" cellspacing="1" cellpadding="2" align="center">
                        
                          <tr>
                            
                            <td align="right" class="home-subtable-view-tdstyle-right">&nbsp;<fmt:message key="user.common.name"/>：
                            </td>
                            <td align="left" class="home-subtable-view-tdstyle-left">
                              <c:out value="${userInfoBean.enName}"/>
                            </td>
                            <td align="right" width="10%" nowrap class="home-subtable-view-tdstyle-right">
                             	&nbsp;<fmt:message key="user.common.cnName"/>：
                             </td>
                            <td align="left" class="home-subtable-view-tdstyle-left">
                              <c:out value="${userInfoBean.cnName}"/>
                            </td>
                            
                          </tr>
            
                           
                          <tr>
                            
                            <td align="right" class="home-subtable-view-tdstyle-right">&nbsp;<fmt:message key="user.common.department"/>：
                            </td>
                            <td align="left" class="home-subtable-view-tdstyle-left">
                              <c:out value="${userInfoBean.deptName}"/>
                            </td>
                            <td align="right" class="home-subtable-view-tdstyle-right" width="18%">
                              &nbsp;<fmt:message key="user.common.email"/>：
                             </td>
                            <td align="left" width="30%" class="home-subtable-view-tdstyle-left">
                               <c:out value="${userInfoBean.email}"/> 
                             </td>
                            
                          </tr>
                          
                          <tr>
                            
                            <td align="right" class="home-subtable-view-tdstyle-right">&nbsp;<fmt:message key="user.common.phone"/>：
                            </td>
                            <td align="left" class="home-subtable-view-tdstyle-left">
                             <c:out value="${userInfoBean.phone}"/>
                            </td>
                            <td align="right" class="home-subtable-view-tdstyle-right">
                              &nbsp;<fmt:message key="user.common.msisdn"/>：
                             </td>
                            <td align="left" class="home-subtable-view-tdstyle-left">
                              <c:out value="${userInfoBean.msisdn}"/>
                            </td>
                            
                          </tr>
                          
                          <tr>
                               
                            <td align="right" class="home-subtable-view-tdstyle-right" width="18%">&nbsp;<fmt:message key="user.common.isUsable"/>：
                            </td>
                            <td   align="left" class="home-subtable-view-tdstyle-left">
                            	&nbsp;
                            	 
								<c:choose>
						    		<c:when test = "${userInfoBean.isUsable == 0}"> 
										是
									</c:when>
							    	<c:otherwise>否</c:otherwise>
							    </c:choose>	
                             </td>
                           
                            <td align="right" class="home-subtable-view-tdstyle-right">
                              &nbsp;<fmt:message key="userForm.addressForm.postalCode"/>：
                             </td>
                            <td align="left" class="home-subtable-view-tdstyle-left">
                             <c:out value="${userInfoBean.postalCode}"/>  
                            </td>
                            
                          </tr>
                           
                          <tr>
                         
                             <td align="right"  class="home-subtable-view-tdstyle-right">&nbsp;<fmt:message key="user.common.addr"/>：
                            </td>
                            <td align="left" colspan="3" class="home-subtable-view-tdstyle-left">
                              <c:out value="${userInfoBean.addr}"/> 
                             </td>
                            
                          </tr>
                          
                          <tr>
                            
                            <td align="right" class="home-subtable-view-tdstyle-right">&nbsp;<fmt:message key="user.common.memo"/>：
                            </td>
                            <td  colspan="3" align="left" class="home-subtable-view-tdstyle-left">
                            	&nbsp;<c:out value="${userInfoBean.memo}"/> 
                             </td>
                            
                            
                          </tr>
                          
                         
                      </table></td>
                    </tr>
                  </table> 
                  
                </td>
              </tr>
            </table>
		  </td>
        </tr>
        <tr> 
          <td >
		<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="home-table-bottom-left">&nbsp;</td>
                <td class="home-table-bottom-bg">&nbsp;</td>
                <td class="home-table-bottom-right">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table>
	  
	  </td>
  </tr>

</table>
 <%--table width="100%" border="0" cellspacing="0" cellpadding="2" class="black12"> 
	<html:hidden property="id"/> 
  <tr>
    <td ><fmt:message key="user.common.name"/>:</td>
    <td class="leftd"><c:out value="${userInfoBean.enName}"/></td>
    
    <td><fmt:message key="user.common.cnName"/>:</td>
    <td><c:out value="${userInfoBean.cnName}"/></td>
    
    <td width="110" class="leftd">&nbsp;</td>
    <td class="leftd">&nbsp;</td>
  </tr>
  <tr>
	<td><fmt:message key="user.common.department"/>:</td>
    <td>
    	<c:out value="${userInfoBean.deptName}"/>
    	<html:hidden property="deptId"/>
 	</td> 
    <td><fmt:message key="userForm.addressForm.country"/>:</td>
    <td><c:out value="${userInfoBean.country}"/></td>
    
    <td><fmt:message key="userForm.addressForm.province"/>:</td>
    <td><c:out value="${userInfoBean.province}"/></td>
  </tr>
  <tr>
    <td width="110" class="leftd"><fmt:message key="userForm.addressForm.postalCode"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.postalCode}"/></td> 
    
    <td width="110" class="leftd"><fmt:message key="userForm.addressForm.postalCode"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.postalCode}"/></td> 
    
    <td width="110" class="leftd"><fmt:message key="user.common.msisdn"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.msisdn}"/></td>
  </tr>
  <tr>
    <td width="110" class="leftd"><fmt:message key="userForm.addressForm.city"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.city}"/></td>
    
    <td width="110" class="leftd"><fmt:message key="user.common.phone"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.phone}"/></td>
    
    <td width="110" class="leftd"><fmt:message key="user.common.addr"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.addr}"/></td>
  </tr>
  <tr>
     <td width="110" class="leftd"><fmt:message key="user.common.isUsable"/>:</td>
        <td class="rightd">
        <c:choose>
    		<c:when test = "${userInfoBean.isUsable == Constants.DISPLAY}"> 
				是
			</c:when>
	    	<c:otherwise>否</c:otherwise>
	    </c:choose>	
		</td>
	<td width="110" class="leftd"><fmt:message key="user.common.memo"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.memo}"/></td>
  	<td width="110" class="leftd"><fmt:message key="user.common.email"/>:</td>
    <td class="rightd"><c:out value="${userInfoBean.email}"/></td>
    </tr>
</table--%>


    </td>
  </tr>
</table>
 
<%-- 
<table border="0" cellspacing="0" cellpadding="10" class="width100">
  <tr>
    <td style="padding-bottom:0px; padding-top:5px;">	
	 
	<table border="0" cellspacing="0" cellpadding="0" align="right" >
      <tr>
        <td class="but_left">&nbsp;</td> 
	    <td class="but_mid"><a href="#" onclick="javascript:formSubmit(document.forms[0],'./userUpdate.shtml?action=update');"><fmt:message key="common.button.update"/></a></td>
        <td class="but_right">&nbsp;</td>
        <td class="but_kong">&nbsp;</td> 
      </tr>
    </table>
   </td></tr> 
<tr><td>	

</td></tr>	
</table>
--%>
<html:hidden property="aryId"/> 
<html:hidden property="seledId"/> 
</html:form>
<script>
	function delCheck(){
		var ary = parent.frames["rightdownFrame"].submitData(); 
		document.forms[0].aryId.value = ary; 
		formSubmit(document.forms[0],"./userDelete.shtml?action=delete");
		winSkip("./userList.shtml?action=userList","rightdownFrame");
		 
 	}
 	
 	function selected(_form,_url){
		var ary = parent.frames["rightdownFrame"].submitData(); 
		document.forms[0].seledId.value = ary; 
		if(ary.length>1){
		 	alert("plese selected again,can't select multi-box");
		 }else{
		 	formSubmit(_form,_url);
		 }
 	}
</script> 
</body>

<p>

<font color="red">
 
<html:errors/><br>
 
</font> 

</html>